/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package 解析.node.charproperty;

import 解析.ASCII;

/**
 *
 * @author yanxi
 */
public class Dot extends CharProperty {

    @Override
    public boolean isSatisfiedBy (int ch) {
        return (ch != '\n' && ch != '\r'
                && (ch | 1) != '\u2029'
                && ch != '\u0085');
    }
    
    @Override
    public String toString(){ 
        return ".";
    }
    
    @Override
    public String getRegexString(){
        return toString();
    }
}
